package com.black.service.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

@Data
@TableName("user")
public class UserEntity {
    @TableId(type = IdType.AUTO)
    private int id;
    private String nickName;
    private String username;
    private String password;
    @TableField(fill = FieldFill.INSERT)
    private String createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateTime;
    private String headUrl;
    private String email;
    private String lastLoginTime;
    private int errorTimes;
    private boolean lock;
}
